<template>
  <div class="box">
    <img src="../../../static/images/404.jpg" alt="" />
    <p style="font-size:20px;">
      你已离开地球、赶快<span @click="goBack" style="color:red">返航</span>吧
    </p>
  </div>
</template>

<script>
import router from "../../router/index.js";
export default {
  name: "",
  setup() {
    function goBack() {
      router.go(-1);
    }
    return {
      goBack,
    };
  },
};
</script>

<style lang="less" scoped>
.box {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: rgb(245, 250, 254);
  text-align: center;
  padding-top: 100px;
}
</style>
